package com.yami.shop.mystery.common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.common.util.PageParam;
import com.yami.shop.mystery.common.model.MysteryBoxUserArk;

/**
 * @author wxf
 * @date 2023/4/14 11:53
 */
public interface MysteryBoxUserArkService extends IService<MysteryBoxUserArk> {

    /**
     * 查询用户持有盲盒比已初始化盲盒数量多的列表
     * @param page
     * @param param
     * @return
     */
    IPage<MysteryBoxUserArk> selectNeedInitializePage(PageParam<MysteryBoxUserArk> page, MysteryBoxUserArk param);

    /**
     *  根据盲盒id统计盲盒个数
     *
     * @param boxId
     * @return
     */
    long countByBid(Long boxId);
}
